package com.shelpe.services.auth.repository;

import org.springframework.data.repository.CrudRepository;

import com.shelpe.services.auth.entity.Users;

public interface UsersRepository extends CrudRepository<Users, Long> {

	Users findTopByUserId(Long userId);
	
	Users findTopByNickOrderByUserIdDesc(String nick);
}
